<fieldset class="socialxe_service">
<legend class="blind">{$lang->select_service}</legend>
	<ul>
		<!--@foreach($provider_list as $provider)-->
		<li>
			<!--@if ($provider_is_logged[$provider])-->
			<a cond="$provider!='xe'" class="bubble" href="{getUrl('', 'mid', $mid, 'module', 'socialxe', 'act', 'dispSocialxeLogout', 'provider', $provider, 'query', $query)}" onclick="providerLogout('{$provider}', '{$skin}'); return false;" class="bubble" title="{$lang->provider[$provider]}({$nick_names[$provider]}) Logout">
				<b class="img {$provider}">{$lang->provider[$provider]}({$nick_names[$provider]}) Logout</b>
			</a>
			<a cond="$provider=='xe'" class="bubble" href="{getUrl('', 'vid', $vid, 'mid', $mid, 'document_srl', $_document_srl, 'act', 'dispMemberLogout')}" title="{$lang->homepage} Logout">
				<b class="img xe bg_color">{$lang->homepage} Logout</b>
			</a>
			<!--@else-->
			<a cond="$provider!='xe'" class="bubble" href="{getUrl('', 'mid', $mid, 'module', 'socialxe', 'act', 'dispSocialxeLogin', 'provider', $provider, 'query', $query)}" onclick="providerLogin(this.href, '{$skin}'); return false;" title="{$lang->provider[$provider]} Login">
				<b class="img off {$provider}<block cond="$provider=='xe'"> bg_color</block>">{$lang->provider[$provider]}({$nick_names[$provider]}) Logout</b>
			</a>
			<a cond="$provider=='xe'" class="bubble" href="{getUrl('', 'vid', $vid, 'mid', $mid, 'document_srl', $_document_srl, 'act', 'dispMemberLoginForm')}" title="{$lang->homepage} Login">
				<b class="img off xe bg_color">{$lang->homepage} Login</b>
			</a>
			<!--@end-->
		</li>
		<!--@end-->
	</ul>
</fieldset>

<fieldset class="socialxe_input">
<legend class="blind">{$lang->cmd_reply}</legend>
	<div class="socialxe_name">
		<!--@if($nick_name)-->
			<b class="img small {$master_provider}<block cond="$master_provider=='xe'"> bg_color</block>">{$lang->provider[$master_provider]}</b> <strong>{$nick_name}</strong> 
			<!--@if($slave_provider)-->
			( <b class="img small {$slave_provider}">{$lang->provider[$slave_provider]}</b> {$slave_nick_name} )
			<!--@end-->
			<!--@if(in_array('xe', $logged_provider))-->
			{@$logged_count-=1;}
			<!--@end-->
			<!--@if($logged_count > 1)-->
				<span class="socialxe_master_change_wrp">
					<a href="#" onclick="return false" class="socialxe_master_change">{$lang->cmd_master}<span class="arrow down"></span></a>
					<span class="socialxe_master_change_list">
						<span class="box_wrp">
							<!--@foreach($logged_provider as $provider)-->
							<a cond="$provider!='xe'" href="#" onclick="changeMaster('{$provider}', '{$skin}');return false" style="cursor:pointer"><b class="img small {$provider}">{$lang->provider[$provider]}</b>{$lang->provider[$provider]}</a>
							<!--@end-->
						</span>
					</span>
				</span>
				<script type="text/javascript">
				<!--
					// 대표 계정 리스트 숨기기
					jQuery(".socialxe_master_change_list").hide();

					// 대표 계정 변경 누르면 리스트 토글
					jQuery(".socialxe_master_change").bind("click", function(e){
						jQuery(".socialxe_master_change_list").toggle();
						return false;
					});
				-->
				</script>
			<!--@end-->
		<!--@else-->
			{$lang->msg_login}
		<!--@end-->
	</div>

	<div class="socialxe_wrap sxc_wrt">
		<div class="socialxe_left">
			<!--@if($profile_image)-->
				<div class="socialxe_profile_image"><img src="{$profile_image}" alt="profile image" class="profile iePngFix" /></div>
			<!--@else-->
				<div class="socialxe_profile_image"><span class="profile no_img" alt="profile image">?</span></div>
			<!--@end-->

			<div class="socialxe_content_input text">
				<!--// IE6 textarea width 100% 버그 fix -->
				<fieldset><div>
				<textarea name="content" id="socialxe_main_content" rows="3" cols="50" <!--@if($nick_name)-->class="socialxe_resizable"<!--@else-->class="socialxe_resizable disabled" disabled="disabled"<!--@end-->>{$_COOKIE["socialxe_content"]}</textarea>
				</div></fieldset>
			</div>
		</div>
		<div class="socialxe_submit"><input type="submit" value="{$lang->cmd_submit}" class="btn" /></div>
	</div>
</fieldset>
<a class="img socialxe_poweredby" href="http://socialxe.net/" target="_blank">powered by SocialXE</a>
<!--@if($enter_send == 'Y')-->
<script type="text/javascript">
<!--
	enterSend();
-->
</script>
<!--@end-->